// base color
$blue:#324157;
$light-blue:#3A71A8;
$red:#C03639;
$pink: #E65D6E;
$green: #30B08F;
$tiffany: #4AB7BD;
$yellow:#FEC171;
$panGreen: #30B08F;

// sidebar
$menuText:#bfcbd9;
$menuActiveText:#409EFF;
$subMenuActiveText:#f4f4f5; // https://github.com/ElemeFE/element/issues/12951

$menuBg:#304156;
//$menuHover:#263445;
$menuHover:rgba(255, 255, 255, 0.1);
//$menuActive:rgba(255,255,255,0.2);


$subMenuBg:#1f2d3d;
$subMenuHover:#001528;

$sideBarWidth: 220px;

// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
  menuText: $menuText;
  menuActiveText: $menuActiveText;
  subMenuActiveText: $subMenuActiveText;
  menuBg: $menuBg;
  menuHover: $menuHover;
  subMenuBg: $subMenuBg;
  subMenuHover: $subMenuHover;
  sideBarWidth: $sideBarWidth;
}


// fontSize
$fzSmall:12px;
$fzMain:16px;
$fzBig:20px;
$fzLarge:24px;

// distance
$dsSmall:8px;
$dsMain:16px;
$dsBig:32px;

// color
$fzc:#323232;
$fzc2:#2E374D;
$fzc3:#B9B9B9;



.fz {
  &-w {
    font-weight: bold;
  }

  &-12 {
    font-size: 12px;
  }

  &-14 {
    font-size: 14px;
  }

  &-16 {
    font-size: 16px;
  }

  &-18 {
    font-size: 18px;
  }
}

.align {
  &-l {
    text-align: left;
  }

  &-c {
    text-align: center;
  }

  &-r {
    text-align: right;
  }

  &-j {
    text-align: justify;
  }
}

.mg {
  &-l {
    margin-left: 10px;
  }
}

.color {
  &-red {
    color: #ff0000 !important;
  }

  &-yellow {
    color: #FF8000 !important;
  }

  &-blue {
    color: #3492fc !important;
  }

  &-green {
    color: #14d214 !important;
  }
}

.d1 {
  .el-dialog {
    border-radius: 6px;
    overflow: hidden;
  }

  .el-dialog__header {
    background-color: #3492FC;
    padding: 12px 10px 10px;

    .el-dialog__title {
      color: #fff;
      font-size: 16px;
    }

    .el-dialog__headerbtn {
      background-color: #ffffff;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      text-align: center;
      line-height: 18px;
      top: 15px;
      right: 12px;
    }
  }

  .el-dialog__body {
    padding: 16px 16px;
  }

  .el-dialog__footer {
    padding: 0 16px 16px
  }
}


.el-message-box__header {
  background-color: #3492FC;
  padding: 12px 10px 10px;

}

.el-message-box__title {
  color: #fff;
  font-size: 16px;
}

.el-message-box__headerbtn {
  background-color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  top: 10px;
}

.el-message-box {
  border: none;
}

.tomore {
  display: inline-block;
  padding: 0 8px;
  cursor: pointer;
  user-select: none;

  &:hover {
    color: #3492fc;
  }
}

.el-range-separator {
  width: 20px !important;
}


// 
.table-flex-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;

  .el-table {
    display: flex;
    flex-direction: column;

    .el-table__header-wrapper {
      flex-shrink: 0;
      min-height: 0;
    }

    .el-table__body-wrapper {
      flex-grow: 1;
      min-height: 0;
      overflow-y: auto;
    }
  }
}

.xdh-map-popup.errow:after,
.xdh-map-popup.errow:before {
  pointer-events: none;
}
